<template>
    <div class="home">
        <h2>我是APP组件</h2>
        <Suspense>
            <!--  异步组件有异步任务 -->
            <template v-slot:default>
                <!-- 成功-->
                <PageDome63Suspense></PageDome63Suspense>
            </template>
            <template v-slot:fallback>
                <!-- 加载中的显示-->
               <h2>加载中...</h2>
            </template>
        </Suspense>
        
    </div>
</template>


<script setup lang="ts" name = "Page60">
import { ref} from 'vue';
import PageDome63Suspense from './page/PageDome63Suspense.vue';
   

</script>

<style lang="scss" scoped>
.home {
    background-color: skyblue;
    border-radius: 10px;
    padding: 10px;
    box-shadow: 0 0 10px;
}
</style>